<extend name="public:base"/>

<block name="left">
    <div class="mark_bar cl">
        <a href="{:url('user/index/index')}" class="goback fl"><i class="iconfont">&#xe600;</i></a>
        <p>待售列表</p>
    </div>
</block>

<block name="main">

    <div class="container">

        <include file="invested:menu"/>

        <notempty name="list">
            <ul class="invest_log">
                <volist name="list" id="v">
                    <li>
                        <div class="title">
                            <a href="{:url('index/invest/detail',['id'=>$v['borrow_id']])}"
                               class="fl">{$v.borrow_name}</a>
                            <span class="fr accc small">
								还款日期 {$v.deadline}
							</span>
                            <div class="cl"></div>
                        </div>

                        <div class="fl w40">
                            <p class="small">待收本金(元)</p>
                            <p class="af90 large">{$v.invest_capital}</p>
                        </div>
                        <div class="fl w30">
                            <p class="small">待收利息(元)</p>
                            <p class="af90 large">{$v.invest_interest}</p>
                        </div>
                        <div class="fl w30">
                            <p class="small">状态</p>
                            <p class="af90 large">{$v.status_name}</p>
                        </div>
                        <div class="cl"></div>

                        <div class="date">
                            <span class="small a999"></span>
                            <span class="small">{$v.audit_status_name}</span>
                            <div class="cl"></div>
                        </div>

                    </li>
                </volist>
            </ul>
            <div class="page">{$page|default=''}</div>
            <else/>
            <p class="empty">暂无待出售中的订单！</p>
        </notempty>
    </div>
</block>

<block name="menu"></block>